package com.java1412.service;

import org.springframework.stereotype.Component;

/**
 * 兜底方案所在的类必须实现系统feign的客户端的接口，同名方法进行兜底
 *
 * @author java1412
 * @since 2024-01-10 17:05:02
 */
@Component
public class SchedualServiceHiHystrix implements SchedualServiceHi {
    @Override
    public String home(String name) {
        return name + ",error";
    }
}
